package com.lmaye.design.patterns.ood.lod.example;

import java.util.ArrayList;
import java.util.List;

/**
 * -- School Manager
 *
 * @author lmay.Zhou
 * @date 2020/11/12 22:42 星期四
 * @qq 379839355
 * @email lmay@lmaye.com
 * @since JDK1.8
 */
public class SchoolManager {
    public List<SchoolEmployee> getSchoolEmployees() {
        List<SchoolEmployee> schoolEmployees = new ArrayList<>();
        SchoolEmployee employee;
        for(int i=0; i<10; ++i) {
            employee = new SchoolEmployee();
            employee.setId("学校人员ID: " + i);
            schoolEmployees.add(employee);
        }
        return schoolEmployees;
    }
}
